#ifndef SERVERSECTIONVIEW_H
#define SERVERSECTIONVIEW_H

#include "standard-section-view.h"

class QModelIndex;
class HttpDatabaseClient;
class ValueResult;

class ServerSectionView : public StandardSectionView
{
    Q_OBJECT
public:
    explicit ServerSectionView(QWidget *parent = 0);

public slots:
    void initialize();
    void connectToServer();
    void tableViewItemActivated(const QModelIndex &index);
    void connectionReady (ValueResult* result);

private:
    QSharedPointer<HttpDatabaseClient> m_databaseClient;
};

#endif // SERVERSECTIONVIEW_H
